home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
programs
/
gapdemo1.zip
/
ARCTRANS.BAT
next >
Wrap
DOS Batch File
|
1992-06-25
|
361b
|
18 lines
@echo off
REM Batch file to extract a file out of an ARC or ZIP so that
REM the file can be downloaded individually (instead of having
REM to download the entire archive).
If %3 == ZIP Goto DOZIP
If %3 == ARC Goto DOARC
Goto END
:DOZIP
Pkunzip -o %2 %1\ %4
Pkzip -m %1\%5 %1\%4
Goto END
:DOARC
Pkunpak -r %2 %1\ %4
Pkpak -a %1\%5 %1\%4
:END